import request from "@/router/axios";
import { baseUrl } from "@/config/env";

//添加班级等级
export function addClassLevel(data) {
  return request({
    url: baseUrl + "/pc/class-level",
    method: "post",
    data
  });
}

//查询班级等级
export function getClassLevel(data) {
  return request({
    url: baseUrl + "/pc/class-level",
    method: "get",
    params: data
  });
}

//删除班级等级
export function deleteClassLevel(data) {
  return request({
    url: baseUrl + "/pc/class-level",
    method: "delete",
    data
  });
}

//更新班级等级
export function updateClassLevel(data) {
  return request({
    url: baseUrl + "/pc/class-level",
    method: "put",
    data
  });
}

//导入班级等级
export function importClassLevel(data) {
  return request({
    url: baseUrl + "/pc/class-level",
    method: "post",
    data
  });
}
